package cn.gz.lbs.entity;

import java.util.Date;

/**
 * CmsUser entity 
 * 
 */

public class CmsUser implements java.io.Serializable {

	//Table Fields
//	  ID          NUMBER not null,
//	  LOGIN_NAME  VARCHAR2(20),
//	  LOGIN_PASS  VARCHAR2(60),
//	  CREATOR_ID  NUMBER not null,
//	  USER_NAME   VARCHAR2(100),
	
//	  STATE       NUMBER(1),
//	  USERTYPE    NUMBER(2),
//	  CITY_CODE   VARCHAR2(3),
//	  TEL         VARCHAR2(15),
//	  LINKINFO    VARCHAR2(300),
	
//	  CREATE_TIME DATE default SYSDATE not null,
//	  UPDATE_TIME DATE default SYSDATE not null,
//	  REQ_MAX     NUMBER,
//	  REQ_COUNT   NUMBER,
//	  MDN_STATE   NUMBER
	  
	private Long id;	
	private String login_name;	
	private String login_pass;	
	private Long creator_id;	
	private String user_name;
	
	private int state;
	private int usertype;
	private String city_code;
	private String tel;
	private String linkinfo;
	
	
	private Date create_time;
	private Date update_time;
	private int req_max;
	private int req_count;
	private int mdn_state;
	private int checkBw;
	
	public CmsUser(){
		
	};
	
	public CmsUser(Long id, String login_name, String login_pass,
			Long creator_id, String user_name, int state, int usertype,
			String city_code, String tel, String linkinfo, Date create_time,
			Date update_time, int req_max, int req_count, int mdn_state,int checkBw) {
		super();
		this.id = id;
		this.login_name = login_name;
		this.login_pass = login_pass;
		this.creator_id = creator_id;
		this.user_name = user_name;
		this.state = state;
		this.usertype = usertype;
		this.city_code = city_code;
		this.tel = tel;
		this.linkinfo = linkinfo;
		this.create_time = create_time;
		this.update_time = update_time;
		this.req_max = req_max;
		this.req_count = req_count;
		this.mdn_state = mdn_state;
		this.checkBw = checkBw;
	}
	
	
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getLogin_name() {
		return login_name;
	}
	public void setLogin_name(String login_name) {
		this.login_name = login_name;
	}
	public String getLogin_pass() {
		return login_pass;
	}
	public void setLogin_pass(String login_pass) {
		this.login_pass = login_pass;
	}
	public Long getCreator_id() {
		return creator_id;
	}
	public void setCreator_id(Long creator_id) {
		this.creator_id = creator_id;
	}
	public String getUser_name() {
		return user_name;
	}
	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public int getUsertype() {
		return usertype;
	}
	public void setUsertype(int usertype) {
		this.usertype = usertype;
	}
	public String getCity_code() {
		return city_code;
	}
	public void setCity_code(String city_code) {
		this.city_code = city_code;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getLinkinfo() {
		return linkinfo;
	}
	public void setLinkinfo(String linkinfo) {
		this.linkinfo = linkinfo;
	}
	public Date getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}
	public Date getUpdate_time() {
		return update_time;
	}
	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}
	public int getReq_max() {
		return req_max;
	}
	public void setReq_max(int req_max) {
		this.req_max = req_max;
	}
	public int getReq_count() {
		return req_count;
	}
	public void setReq_count(int req_count) {
		this.req_count = req_count;
	}
	public int getMdn_state() {
		return mdn_state;
	}
	public void setMdn_state(int mdn_state) {
		this.mdn_state = mdn_state;
	}
	
	
	
	/**
	 * @return the checkBw
	 */
	public int getCheckBw() {
		return checkBw;
	}

	/**
	 * @param checkBw the checkBw to set
	 */
	public void setCheckBw(int checkBw) {
		this.checkBw = checkBw;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("CmsUser [id=");
		builder.append(id);
		builder.append(", login_name=");
		builder.append(login_name);
		builder.append(", login_pass=");
		builder.append(login_pass);
		builder.append(", creator_id=");
		builder.append(creator_id);
		builder.append(", user_name=");
		builder.append(user_name);
		builder.append(", state=");
		builder.append(state);
		builder.append(", usertype=");
		builder.append(usertype);
		builder.append(", city_code=");
		builder.append(city_code);
		builder.append(", tel=");
		builder.append(tel);
		builder.append(", linkinfo=");
		builder.append(linkinfo);
		builder.append(", create_time=");
		builder.append(create_time);
		builder.append(", update_time=");
		builder.append(update_time);
		builder.append(", req_max=");
		builder.append(req_max);
		builder.append(", req_count=");
		builder.append(req_count);
		builder.append(", mdn_state=");
		builder.append(mdn_state);
		builder.append(", checkBw=");
		builder.append(checkBw);
		builder.append("]");
		return builder.toString();
	}
	
	
	
	
	
}